projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df5d008
)
(Fload): Cast the args to stat.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 24 Feb 1994 21:50:10 +0000
(21:50 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 24 Feb 1994 21:50:10 +0000
(21:50 +0000)
src/lread.c
patch
|
blob
|
history
diff --git
a/src/lread.c
b/src/lread.c
index 32ee6885ac3413be96f24df09fc224a2efc119d7..8649d8a6694b108bf908b08061bac84629b852d7 100644
(file)
--- a/
src/lread.c
+++ b/
src/lread.c
@@
-376,9
+376,9
@@
Return t if file exists.")
#ifdef MSDOS
dosmode = "rb";
#endif
- stat (XSTRING (found)->data, &s1);
+ stat (
(char *)
XSTRING (found)->data, &s1);
XSTRING (found)->data[XSTRING (found)->size - 1] = 0;
- result = stat (XSTRING (found)->data, &s2);
+ result = stat (
(char *)
XSTRING (found)->data, &s2);
if (result >= 0 && (unsigned) s1.st_mtime < (unsigned) s2.st_mtime)
{
message ("Source file `%s' newer than byte-compiled file",